package com.roc.pojo;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "T_TERM_ACTIVATE_STATISTICS")
public class TblTerActivateStatistics implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1023817216563237786L;

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqTermActivateStatisics")
	@SequenceGenerator(name = "seqTermActivateStatisics", sequenceName = "SEQ_TERM_ACTIVATE_STATISTICS")
	private Long  id; // id
	
/*	@Column(name = "COMPANY_ID")
	private String  companyId; // 区域id
*/	
	@Column(name = "AGENT_ID")
	private Long  agentId; // 代理商id

	@Column(name = "SERVIAL_NUM")
	private String serialNum; // SN号
	
	@Column(name = "POS_BRAND")
	private String  posBrand; // 厂商编号
	
	@Column(name = "BRAND_DATE")
	private String brandDate; // 绑定日期
	
	@Column(name = "TRN_DATE")
	private String  trnDate; // 激活日期
	
	@Column(name = "TRN_AT")
	private String trnAt; // 交易总金额
	
	@Column(name = "DT_CREATE")
	private String dtCreate; // 创建时间
	
	@Column(name = "DT_LASTMOD")
	private String  dtLastmod; // 更新时间
	
	@Column(name = "TERM_ID")
	private String termId ;// 终端号	

	@Column(name = "MCHNT_CD")
	private String mchntCd ;// 商户号	
	
	@Column(name = "STATUS")
	private String  status; // 激活状态， 0，未激活，1，已激活
	
	@Transient
	private String agentName;
	
	@Transient
	private Long  oneagentId; // 一级代理商id
	
	@Transient
	private String oneagentName;
	
	@Transient
	private String orgName;

	@Transient
	private String  companyName; // 区域名称
	
	@Transient
	private Integer allNums;// 仓库导入总数量

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAgentId() {
		return agentId;
	}

	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getPosBrand() {
		return posBrand;
	}

	public void setPosBrand(String posBrand) {
		this.posBrand = posBrand;
	}

	public String getBrandDate() {
		return brandDate;
	}

	public void setBrandDate(String brandDate) {
		this.brandDate = brandDate;
	}

	public String getTrnDate() {
		return trnDate;
	}

	public void setTrnDate(String trnDate) {
		this.trnDate = trnDate;
	}

	public String getTrnAt() {
		return trnAt;
	}

	public void setTrnAt(String trnAt) {
		this.trnAt = trnAt;
	}

	public String getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(String dtCreate) {
		this.dtCreate = dtCreate;
	}

	public String getDtLastmod() {
		return dtLastmod;
	}

	public void setDtLastmod(String dtLastmod) {
		this.dtLastmod = dtLastmod;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public Long getOneagentId() {
		return oneagentId;
	}

	public void setOneagentId(Long oneagentId) {
		this.oneagentId = oneagentId;
	}

	public String getOneagentName() {
		return oneagentName;
	}

	public void setOneagentName(String oneagentName) {
		this.oneagentName = oneagentName;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getTermId() {
		return termId;
	}

	public void setTermId(String termId) {
		this.termId = termId;
	}

	public String getMchntCd() {
		return mchntCd;
	}

	public void setMchntCd(String mchntCd) {
		this.mchntCd = mchntCd;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getAllNums() {
		return allNums;
	}

	public void setAllNums(Integer allNums) {
		this.allNums = allNums;
	}

}
